<template>
<div class="app">
  app
  <h1>{{shoplist.length}}</h1>
</div>


</template>


<script setup>
import {shop_list} from './api'
import { onMounted,ref } from 'vue'
var shoplist = ref([])

onMounted(() => {
  shop_list().then((res) => {
      shoplist.value = res.data.list
    })
  })
</script>


<style scoped>

</style>
